<script setup>
import { useObject } from "#imports";
const { data } = await useObject({
  name: true,
  value: true
});
</script>

<template>
    <l-page>
        <FormKit type="l-form" :value="data">
            <FormKit type="l-input" label="Name" name="name" validation="required" />
            <FormKit type="l-input" label="Value" name="value" validation="required" input-type="textarea" autogrow/>
        </FormKit>
    </l-page>
</template>
